package com.secondhand.project.mapper;

import java.util.List;

import com.secondhand.project.domain.Category;

public interface CategoryMapper {
    Category selectCategoryById(Long id);

    List<Category> selectCategoryList(Category category);

    int insertCategory(Category category);

    int updateCategory(Category category);

    int deleteCategoryById(Long id);

    int deleteCategoryByIds(Long[] ids);
}
